package com.hellobike.haxing.modules.order.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import com.hellobike.haxing.modules.order.mapper.typehandler.JSONObjectHandler;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import com.hellobike.haxing.common.annotation.Dict;

/**
 * @Description: 售后订单明细
 * @Author: haxing-boot
 * @Date:   2020-02-08
 * @Version: V1.0
 */
@Data
@TableName("t_order_aftersale_detail")
public class OrderAftersaleDetail implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**id*/
	@TableId(type = IdType.AUTO)
    private java.lang.Long id ;
	/**订单ID*/
	@Excel(name = "订单ID", width = 15)
    private java.lang.Long orderId ;
	/**订单明细ID*/
	@Excel(name = "订单明细ID", width = 15)
    private java.lang.Long orderDetailId ;
	/**售后订单ID*/
	@Excel(name = "售后订单ID", width = 15)
    private java.lang.Long orderAfterId ;
	/**createTime*/
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
        private java.util.Date createTime ;
	/**updateTime*/
	@Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
        private java.util.Date updateTime ;
	/**createBy*/
	@Excel(name = "createBy", width = 15)
        private java.lang.Integer createBy ;
	/**updateBy*/
	@Excel(name = "updateBy", width = 15)
        private java.lang.Integer updateBy ;
	/**deleted*/
	@Excel(name = "deleted", width = 15)
	@TableLogic
	private java.lang.Integer deleted ;
	@Excel(name = "售后金额", width = 15)
	private java.math.BigDecimal afterAmount ;

	/**商品Code*/
	@Excel(name = "商品Code", width = 30)
	@TableField(exist = false)
	private String spuCode ;
	/**skuCode*/
	@Excel(name = "skuCode", width = 30)
	@TableField(exist = false)
	private String skuCode ;

	/**商品名称*/
	@Excel(name = "商品名称", width = 15)
	@TableField(exist = false)
	private java.lang.String title ;
	/**规格属性值*/
	@Excel(name = "规格属性值", width = 15)
	@TableField(exist = false,typeHandler = JSONObjectHandler.class)
	private java.lang.String dimensionValues ;
	/**sku图片*/
	@Excel(name = "sku图片", width = 15)
	@TableField(exist = false)
	private java.lang.String skuImage ;

	/**类型：1-生鲜 2-日杂*/
	@Excel(name = "类型：1-生鲜 2-日杂", width = 15)
	@TableField(exist = false)
	private java.lang.Integer productType ;

	/**业务类型1普通订单2限时购3拼团*/
	@Excel(name = "业务类型1普通订单2限时购3拼团", width = 15)
	@TableField(exist = false)
	private java.lang.Integer bizType ;
}
